<template>
  <div class="error-page">
    <div class="img"></div>
    <div class="content">
      <h1>404</h1>
      <div class="desc">抱歉，你访问的页面不存在</div>
      <div class="actions">
        <!--        <router-link :to="{path:'/'}">-->
        <el-button type="primary" @click="back">返回首页</el-button>
        <!--        </router-link>-->
      </div>
    </div>
  </div>
</template>

<script>
import {backHome} from "@/api/user";

export default {
  name: "error-404",
  methods: {
    back() {
      // window.open("http://60.171.247.199:28090/szyq", '_self')
      backHome()
    }
  }
};
</script>
<style lang="scss" scoped>
@import "./style.scss";

.img {
  background-image: url('~@/assets/img/bg/404.svg');
}
</style>
